package com.fong.spring_cloud_consumer;

import org.springframework.stereotype.Component;

/**
 * 熔断实现类，当远程服务不可用时将会调用本类对应方法
 * @author fong
 *
 */
@Component
public class SayHelloServiceImpl implements SayHelloService {

	@Override
	public String hello( String name ) {
		return "Hello " + name + ", this message send failed!!!!";
	}

}
